package com.hknc.btscale.view;

import android.view.View;

import androidx.core.view.ViewCompat;

import com.stx.xhb.androidx.transformers.BasePageTransformer;

public class MyTransformer extends BasePageTransformer {

    public MyTransformer() {
    }

    @Override
    public void handleInvisiblePage(View view, float position) {
    }

    @Override
    public void handleLeftPage(View view, float position) {
    }

    @Override
    public void handleRightPage(View view, float position) {
        view.setTranslationX(-view.getWidth() * position);
    }

}
